package com.xin.entity.crm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 角色拥有的权限表
 */
@TableName("t_auth_role_permission")
public class RolePermissionEntity {

    private Long id;

    private Long roleId;

    private Long permissionId;

    private String permissionSn;
    @TableField(exist = false)
    private String permissionName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionSn() {
        return permissionSn;
    }

    public void setPermissionSn(String permissionSn) {
        this.permissionSn = permissionSn;
    }
}
